/* Panel that holds the ActionPointBar and the StanceBar
 * 
 */

package gui.battle;

import item.ship.Ship;

import java.awt.*;

import javax.swing.*;


public class SNPPanel extends JPanel {

	ActionPointBar apb; //the action point bar
	StanceBar stance; //the stance bar	
	
	
	//1 param constructor that sets up the bar
	public SNPPanel (Ship s){
		
		this.setMaximumSize(new Dimension(300, 100));
		this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
		
		apb = new ActionPointBar(BattlePanel.turn.getShip());
		stance = new StanceBar(s);
		
		this.add(apb);
		this.add(stance);
	}//Ship constructor
	
	
	
}//SNPPanel
